<?php
/***************************************************************************
 *                                randomQuote.php
 *                            -------------------
 *                      (APU) Automated Pilot Utility
 *   begin                : Sunday, Nov 26, 2006
 *   copyright            : (C) 2004-2006 SF Games
 *   email                : techsupport@sf-games.com
 *
 * This class returns a random quote
 *
 * Add, modify, delete quotes you might like, but also change the variable
 * $maxQuotes to the numbr of quotes that exist in the array $quotes
 ***************************************************************************/

class RandomQuote
{
	var $maxQuotes = 6;
	var $quotes = array("was spewed forth",
	                    "flew around the world",
						"performed a barrel roll",
						"took off",
						"flew IFR",
						"was generated");

/**
 * 
 *
 * 
 *
 * @return string Return the random quote
 */
  function getQuote()
	{
		return $this->quotes[rand(0, $this->maxQuotes-1)];
	}
} 

?>
 